﻿using System;

namespace DapperLambdaSQL.Model.Exceptions
{
    /// <summary>
    /// 解析表达式异常
    /// </summary>
    public class ParseExpressionException : Exception
    {
        private readonly string message;
        public override string Message => message;

        public ParseExpressionException(object expression)
        {
            var type = expression.GetType();
            message = $"暂未提供解析该类型[{type}]表达式方法！";
        }
    }
}